package seggio.utily;

import java.io.*;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;

public class LeggiConfigDaFile {

    public LeggiConfigDaFile() {
    }

    public static List <String> getInfoFile(File f) throws FileNotFoundException, IOException {
        Path path = Paths.get(f.getAbsolutePath());
        return Files.readAllLines(path, Charset.forName("ASCII"));
    }
}
